@charset "utf-8";
@import "reset";
@import "iconfont";
$fontsize:64px;
html {
    font-size: 64px;
}

body {
    height: 100%;
}

@function r($px) {
    @return $px/$fontsize*1rem;
}

.web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: r(90px);
        background: #b20000;
        >div:first-of-type {
            height: r(90px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            i {
                color: #fff;
                &:first-of-type {
                    font-size: 23px;
                    margin-left: r(23px);
                }
                &:nth-of-type(2) {
                    display: block;
                    width: r(42px);
                    height: r(42px);
                    line-height: r(42px);
                    border: 1px solid #FFF;
                    border-radius: 50%;
                    text-align: center;
                    margin-right: r(23px);
                }
            }
            img {
                width: r(265px);
                height: r(40px);
            }
        }
    }
    .content {
        position: absolute;
        top: r(90px);
        left: 0;
        bottom: r(95px);
        width: 100%;
        background: white;
        overflow: auto;
        overflow-x: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
//      background: #F5F5F5;
        >ul {
            width: 100%;
            font-size: 0;
            margin: auto;
            background: #FFFFFF;
             >div {
                width: 100%;
                >div {
                    width: r(583px);
                    border-top: 1px solid #e6e6e6;
                    margin: 0 auto;
                }
            }
            >li {
                width: r(583px);
                height: r(141px);
                margin: auto;
                margin-top: r(30px);
                margin-bottom: r(30px);
                >div:first-of-type{
                    float: left;
                    >a{
                        >img{
                            width: r(210px);
                            height: r(141px);
                        }
                    }
                }  
                >div:nth-of-type(2){
                    >a{
                        >h2{
                        font-size: 14px;
                        overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                   line-height: r(30px);
                   color: black;
                    }
                    }
                    >p{
                        line-height: r(30px);
                        font-size: 12px;
                        color: #C5C5C5;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    
                        -webkit-line-clamp: 2;
                    }
                }
                >div:nth-of-type(3){
                    float: right;
                    margin-top: r(28px);
                    >span{
                        font-size: 12px;
                        color:#c8c8c8;   
                    }
                    >span:last-of-type{
                        margin-left:r(10px);
                        
                    }
                }
            }
            
        }
      
        >div:nth-of-type(2) {
            width: 100%;
            background: white;
            >div {
                width: r(583px);
                height: r(60px);
                margin: auto;
                border-top: 1px solid #e6e6e6;
//              line-height: r(20px);
                >p {
                    font-size: 14px;
                    color: #8B8B8B;
                    text-align: center;
                    line-height: r(40px);
                }
            }
        }
    }
    footer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: r(95px);
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        border-top: r(1px) solid #8B8B8B;
        >a {
            height: 100%;
            width: 20%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            position: relative;
            >img {
                height: 48%;
            }
            >p {
                font-size: 15px;
                color: #8b8b8b;
                cursor: pointer;
            }
            div {
                position: absolute;
                right: 0;
                width: r(1px);
                height: r(50px);
                background: #8B8B8B;
            }
        }
    }
}

.carousel_wrap {
    width: 100%;
    .lunbo_wrap {
        position: relative;
        /*border: 1px solid firebrick;*/
        overflow: hidden;
        width: 100%;
        .pic_box {
            height: 16.7%;
            width: 100%;
            white-space: nowrap;
            font-size: 0;
            li {
                position: relative;
                width: 100%;
                display: inline-block;
                img {
                    width: 100%;
                    display: block;
                }
            }
        }
        .layer_mask {
            width: 100%;
            height: r(104px);
            position: absolute;
            bottom: 0;
            padding: r(13px) r(30px);
            background: rgba(0, 0, 0, 0.5);
            .mask_web {
                overflow: hidden;
                h4 {
                    font-size: 16px;
                    color: white;
                    font-weight: normal;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    -webkit-line-clamp: 2;
                }
                .mask_zi {
                    width: 90%;
                    position: absolute;
                    color: white;
                    bottom: r(10px);
                    font-size: 13px;
                    i {
                        font-size: 17px;
                        vertical-align: middle;
                         :hover {
                            color: #b60005;
                        }
                    }
                    span {
                        vertical-align: middle;
                        margin-right: r(36px);
                        color: #FFFFFF;
                    }
                    b {
                        font-weight: normal;
                        float: right;
                    }
                }
            }
        }
        .pannel {
            position: absolute;
            left: 0;
            width: 100%;
            bottom: 1%;
            text-align: center;
            li {
                display: inline-block;
                width: r(10px);
                height: r(10px);
                border-radius: 50%;
                background: rgb(183, 183, 183);
                margin-right: r(12px);
                &:hover {
                    background: #b60005;
                }
            }
        }
    }
}

